import type { ComponentInternalInstance } from 'vue';
import { getCurrentInstance } from 'vue';
export default () => {
  const { appContext } = getCurrentInstance() as ComponentInternalInstance;
  const proxy = appContext.config.globalProperties;

  console.log('这里可以用 proxy 引用全局变量为所欲为了', proxy);

  return {};
};
